﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.ViewModels.SeminarFollowUpReportViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<asp:Literal runat="server" Text="<%$ Resources:Literals, ApplicationTitle%>" /> - Seminars management
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="BreadcrumbContent" runat="server">
	
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>FollowUp</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">NumberOfAssessments</div>
        <div class="display-field"><%= Html.Encode(Model.NumberOfAssessments) %></div>
        
        <div class="display-label">AverageAge</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:F}", Model.AverageAge)) %></div>
        
        <div class="display-label">NumberOfMales</div>
        <div class="display-field"><%= Html.Encode(Model.NumberOfMales) %></div>
        
        <div class="display-label">NumberOfFemales</div>
        <div class="display-field"><%= Html.Encode(Model.NumberOfFemales) %></div>
        
        Professional background
        <br />
        <table>
        <%foreach (var background in Model.SeminarFollowUpReportBackgrounds){%>
            <tr>
            <td><%=Html.Encode(background.Text) %></td>
            <td><%=Html.Encode(background.Number) %></td>
            <td><%=Html.Encode(background.Percentage) %></td>
            </tr>
        <%}%>
        </table>

        Speciality
        <br />
        <table>
        <%foreach (var speciality in Model.SeminarFollowUpReportSpecialities){%>
            <tr>
            <td><%=Html.Encode(speciality.Text)%></td>
            <td><%=Html.Encode(speciality.Number)%></td>
            <td><%=Html.Encode(speciality.Percentage)%></td>
            </tr>
        <%}%>
        </table>

        <br />
        1- How do you take part in the donation-transplantation process?
        <br />
        <table>
        <%foreach (var obj in Model.SeminarFollowUpReportRoles){%>
            <tr>
            <td><%=Html.Encode(obj.Text)%></td>
            <td><%=Html.Encode(obj.Number)%></td>
            <td><%=Html.Encode(obj.Percentage)%></td>
            </tr>
        <%}%>
        </table>

        <br />
        2. After the seminar my attitude towards the donation process has changed positively.
        <br />
        <table>
        <%foreach (var obj in Model.SeminarFollowUpReportAttitude){%>
            <tr>
            <td><%=Html.Encode(obj.Text)%></td>
            <td><%=Html.Encode(obj.Number)%></td>
            <td><%=Html.Encode(obj.Percentage)%></td>
            </tr>
        <%}%>
        </table>

        <br />
        Do you feel CONFIDENT in the following situations?
        <br />
        <table>
        <%foreach (var obj in Model.SeminarFollowUpReportConfident){%>
            <tr>
            <td><%=Html.Encode(obj.Text)%></td>
            <%foreach (var obj2 in obj.Numbers){%>
            <td><%=Html.Encode(obj2)%></td>
            <%}%>
            </tr>
        <%}%>
        </table>

        <br />

    </fieldset>
    <p>
        <%= Html.ActionLink("Back to Seminar", "Details", new { id = Model.Seminar.SeminarID })%>
    </p>

</asp:Content>
